### Installing the Thin Client Directory

##### Installations using Red Hat for Linux 8.0 (or greater):

1. Login at the root.
2. Copy this download file to the Linux system: avayadir-1.0-1.0.i386.rpm.
3. Run the following command from the command line to extract the files to the
   /var/www/html/avayadir directory: rpm –ivh avayadir-1.0-1.0.i386.rpm.
4. To enable password control for the Directory Administration application, create a directory entry in the httpd.conf file as follows:

NOTE: The correct filename is httpd.conf, not http.conf.

<Directory “/var/www/html/avayadir/avayadiradmin”> AuthType Basic AuthName “Password Required” AuthUserFile “/var/www/password/avayadirpasswd” Require user ldap </Directory>

1. The default user/password combination is ldap/ldap. To change the password, run
   “htpasswd /var/www/passwd/avayadirpasswd ldap.”
2. Open the file /etc/php.ini for editing.
3. Set the option “short_open_tag = On” in php.ini.
4. Uncomment the line “extension=ldap.so” in php.ini.
5. To finish, restart the Web server by running “/sbin/service httpd restart.”
6. Now test everything out by pointing a browser at the newly created directory structure such as <http://yourserver/avayadir/avayadiradmin/index.htm>.

##### Installation for any other Unix-based operating system:

1. Download the winzip file and run: unzip avayadir-1.0.zip
2. Copy the entire tree that was created by running unzip under the documentRoot of the httpd server. For example, if your directory is /var/www/html, the directory created is
   /var/www/html/avayadir.
3. Use the command “chown apache:apache /var/www/html/avayadir/avayadirini” to change the user and group of the directory /var/www/html/avayadir/avayadirini to user:apache, group:apache.
4. Run “chmod 755 /var/www/avayadir/avayadirini” to change the permission of the
   /var/www/html/avayadir/avayadirini to 755.
5. To enable password control for the Directory Administration application, create a directory entry in the httpd.conf file as follows:

NOTE: The correct filename is httpd.conf, not http.conf.

<Directory “/var/www/html/avayadir/avayadiradmin”> AuthType Basic AuthName “Password Required” AuthUserFile “/var/www/password/avayadirpasswd” Require user ldap </Directory>

1. The default user/password combination is ldap/ldap. To change the password, run “htpasswd /var/www/passwd/avayadirpasswd ldap”.
2. Open the file /etc/php.ini for editing.
3. Set the option “short_open_tag = On” in php.ini.
4. Uncomment the line “extension=ldap.so” in php.ini.
5. To finish, restart the Web server by running “/sbin/service httpd restart.”
6. Now test everything out by pointing a browser at the newly created directory structure such as <http://yourserver/avayadir/avayadiradmin/index.htm>.

##### Installation for Windows with Apache:

1. Extract the file avayadir-1.0.zip to the documentRoot folder.

NOTE: Making LDAP/PHP work with Apache is not necessarily easy. This procedure contains only the basics. For further information, you can download a free white paper available on the Avaya support Web site. After accessing the Avaya support Web site, make the following selections: Telephone Devices & User Agents, then IP Telephones & User Agents, then 4600 IP Telephones and SDK and Browser Information. The white paper referenced applies to both 4600 Series IP Telephones and 9600 Series IP Telephones.
The documentRoot location varies based on Web server installation. This is the directory where the Web server originates the files it serves.

1. Go to www.php.net to determine how to install and configure PHP for your server.
2. Check your Web server’s installation instructions to determine how to enable directory-level password control. We strongly recommend that you enable password protection for the directory administration folder avayadiradmin.
3. Open the file php.ini for editing. This file is typically located in the Windows folder
   c:\windows.
4. In php.ini, set the option “short_open_tag = On”.
5. Uncomment the line “extension=php_ldap.dll”
6. Save the updated php.ini file.
7. To finish, restart the Web server.
8. Now test everything out by pointing a browser at the newly created directory structure such as: <http://yourserver/avayadir/avayadiradmin/index.htm>.